package com.coolwen.dao;

import com.coolwen.entity.Councilor;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CouncilorMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Councilor record);

    int insertSelective(Councilor record);

    Councilor selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Councilor record);

    int updateByPrimaryKey(Councilor record);

    List<Councilor> selectAllInfo();

    List<Councilor> selectCouncilorCourseInfo(Map<String, Object> params);

    int find_count(Map<String, Object> params);

    List<Councilor> selectAllCouncilorCourseInfo(Map<String, Object> params);

    int selectCourse_count(Map<String, Object> params);
}